﻿<%@ Page Language="C#" MasterPageFile="~/GestorEventos.master" AutoEventWireup="true" CodeBehind="viewUser.aspx.cs" Inherits="GestorEventos.viewUser" Title="Ver Utilizador" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="UserArea" runat="server">
</asp:Content>


<asp:Content ID="Content3" ContentPlaceHolderID="Main" runat="server">
        
        <asp:Label Font-Size="Large" ID="Label2Username" runat="server" Text="" 
            style="color: #FF9900; font-size: x-large"> </asp:Label>
        <hr />
        <br />
        <br />
        <table>    
         <tr>
            <td>
                <asp:Label ID="LabelDadosPessoais"  Font-Size="Medium" runat="server" Text="Dados Pessoais"></asp:Label>
            </td>
            <td>
                
            </td>
        </tr>
        
        <tr>
            <td colspan="2">
                <hr />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label1Nome" runat="server" Text="Nome"></asp:Label>
            </td>
            <td>
                <asp:Label ID="Label2Nome" runat="server" Text=""></asp:Label>
            </td>
        </tr>

        <tr>
        <td>
            <asp:Label ID="LabelEmail" runat="server" Text="Email"></asp:Label>
        </td>
        <td>
            <asp:Label ID="Label2Email" runat="server" Text=""></asp:Label>
        </td>
        </tr>
        
        <tr>
            <td>
                <asp:Label ID="Label2Status" runat="server" Text="Status">     </asp:Label>
            </td>
            <td>    
                <asp:Label ID="LabelStatus" runat="server" Text="">     </asp:Label>
            </td>
        </tr>

        </table>
        
        
        
        <br /><br />
        
        <br />
        <table>
        <tr>
            <td>
                <asp:Label ID="LabelMorada"  Font-Size="Medium" runat="server" Text="Morada"></asp:Label>
            </td>
            <td>
                
            </td>
        </tr>
        
        <tr>
            <td colspan="2">
                <hr />
            </td>

        </tr>
        <tr>
        <td>
            <asp:Label ID="LabelRua" runat="server" Text="Rua"></asp:Label>
        </td>
        <td>
            <asp:Label ID="Label2Rua" runat="server" Text=""></asp:Label>
        </td>
        </tr>
        
        <tr>
        <td>
            <asp:Label ID="LabelLocalidade" runat="server" Text="Localidade"></asp:Label>
        </td>
        <td>
            <asp:Label ID="Label2Localidade" runat="server" Text=""></asp:Label>
        </td>
        </tr>
        
        <tr>
        <td>
            <asp:Label ID="LabelCodPostal" runat="server" Text="CodPostal"></asp:Label>
        </td>
        <td>
            <asp:Label ID="Label2CodPostal" runat="server" Text=""></asp:Label>
        </td>
        </tr>
        
        </table>
        
        <table>
        <tr>
            <td>    
                <br /><br /><br />
                
                
                
                <% if (Session["userID"] != null && Convert.ToInt32(Session["userStatus"].ToString()) >= 2)
                   { %>
                    
                    <asp:Label ID="LabelMaisOpcoes" runat="server" Text=""></asp:Label>
                
                
                    <br />
                    <asp:LinkButton ID="LinkButtonUser" runat="server"  OnClick="blockUser"></asp:LinkButton>   
                    <br />
                <% } %>

                <% if (Session["userID"] != null && Convert.ToInt32(Session["userStatus"].ToString()) >= 3 )
                   { %>
                    
                
                
                    <br />
                    <asp:LinkButton ID="LinkButtonMod" runat="server" OnClick="setMod"></asp:LinkButton>
                <% } %>

            </td>
            <td></td>
        </tr>
        
        
        </table>


</asp:Content>
